/**********************************************************************
* FileName:        I2C.h
* Dependencies:    none
* Processor:       MC68HC908JL16
* Compiler:        CodeWarrior HC08 v5.00 or higher
*
* REVISION HISTORY: 1.0
* ADDITIONAL NOTES:
* This driver works only for any I2C (IIC) interface.
**********************************************************************/
#ifndef I2C_INCLUDED
#define I2C_INCLUDED
#define I2C_SEND_ACK 0x01       // send acknowledge to slave
#define I2C_NOT_SEND_ACK 0x00   // not send acknowledge to slave
void          I2C_init(void);
void          I2C_start(void);
void          I2C_stop(void);
void          I2C_general_reset( void );
unsigned char I2C_tx_byte(unsigned char B);
unsigned char I2C_rx_byte(unsigned char acknowledge);
#endif
